--主入口函数。从这里开始lua逻辑
function Main()
    print("logic start")
end
--场景切换通知
function OnLevelWasLoaded(sceneName)
    collectgarbage("collect")
    Time.timeSinceLevelLoad = 0
    logWarn("场景加载完毕---------》" .. tostring(sceneName))
    Event.Brocast(EventsDefine.SceneEvents.onSceneLoaded, sceneName)
end

function OnApplicationQuit()
end